package cn.edu.ujn.ch14.m;

import org.springframework.stereotype.Component;

@Component
public class User {
	
	String username;
	String password;
	int id;
	String state;
	
	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password + ", id=" + id + ", state=" + state + "]";
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}

	

}
